package com.newtouch.bxzs.common.base.em;

/**
 * 缴费方式枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/26 10:54</td>
 * <td>linhongxi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author linhongxi
 * @version 1.0.0
 * @since 1.0.0
 */
public enum PaymentMethodEnum {
	// 期缴
	REGULAR_PAY(1, "期缴"),
	// 趸缴
	WHOLE_PAY(2, "趸缴"),
	// 其他
	OTHER(3, "其他");

	/**
	 * 缴费方式码
	 */
	private Integer code;
	/**
	 * 缴费方式信息
	 */
	private String status;

	/**
	 *
	 * @param code
	 *            枚举码
	 * @param state
	 *            枚举值
	 */
	PaymentMethodEnum(Integer code, String state) {
		this.code = code;
		this.status = state;
	}

	public Integer getCode() {
		return code;
	}

	public String getMessage() {
		return status;
	}
}
